how can I plot model in pytorch

33

from torchviz import make_dot

make_dot(yhat, params=dict(list(model.named_parameters()))).render("rnn_torchviz", format="png")

Comments

Submit
0 Comments